<?php


require_once 'admin/lib/class/Canvas.class.php';
if ( isset( $_GET['img'] ) )
{
	$pic = $_GET['img'];
	$w = 215; //largura
	$h = 175; //altura
	$t = new Canvas;
	$t->carrega( $pic );
	$t->redimensiona( $w, $h, 'crop' );
	$t->grava();
}
?>